<script>
export default {
	onLaunch: function() {
		console.warn('当前组件仅支持 uni_modules 目录结构 ，请升级 HBuilderX 到 3.1.0 版本以上！');
		console.log('App Launch');
	},
	onShow: function() {
		console.log('App Show');
		this.getSystemInfo();
	},
	onHide: function() {
		console.log('App Hide');
	},
	methods: {
		getSystemInfo() {
			const res = uni.getSystemInfoSync();
			this.globalData.system_info = res;
		}
	},
	globalData: {
		system_info: {} // 设备信息
	}
};
</script>

<style lang="scss">
button {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
}
button::after {
	border: none;
}
</style>
